package cn.iocoder.yudao.module.design.controller.admin.problem.vo;

import cn.iocoder.yudao.module.infra.controller.admin.file.vo.file.FileRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Tag(name = "管理后台 - 项目问题更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProblemUpdateReqVO extends ProblemBaseVO {

    @Schema(description = "ID", required = true)
    @NotNull(message = "ID不能为空")
    private Long id;

    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date updateTime;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "更新者")
    private String updater;

    @Schema(description = "是否删除" )
    private Boolean deleted;

    @Schema(description = "租户编号")

    private Long tenantId;

    @Schema(description = "图片列表")
    private  List<FileRespVO> fileList;

    @Schema(description = "处理人ids" )
//    @NotNull(message="处理人不能为空")
    private List<Long> dealerIds;
}
